<template>
    <view class="">
        <view>
            <uni-forms ref="valiForm" :modelValue="baseFormData" label-position="top" :rules="rules">
                <uni-forms-item label="车架号" name="vin" required>
                    <uni-easyinput v-model="baseFormData.vin" placeholder="请输入车架号" />
                </uni-forms-item>
                <uni-forms-item label="车型" name="hpzl" required>
                    <uni-easyinput v-model="baseFormData.hpzl" placeholder="请输入车型" />
                </uni-forms-item>
                <uni-forms-item label="里程表" name="lCb" required>
                    <uni-easyinput v-model="baseFormData.lCb" placeholder="请输入里程表" />
                </uni-forms-item>
                <uni-forms-item label="车牌号" name="hphm" required>
                    <uni-easyinput v-model="baseFormData.hphm" placeholder="请输入车牌号" />
                </uni-forms-item>
                <uni-forms-item label="客户类型" name="cailiao" required>
                    <uni-data-checkbox v-model="baseFormData.cailiao" :localdata="cailiaoOptions" />
                </uni-forms-item>
                <uni-forms-item label="采购员" name="name" required>
                    <uni-easyinput v-model="baseFormData.name" placeholder="请输入采购员" />
                </uni-forms-item>
            </uni-forms>
            <button type="primary" @click="submit('valiForm')" style="background-color:#409Eff">提交</button>
        </view>
    </view>
</template>

<script>
/**
 *  @description
 *  @author
 *
 */
export default {
    name: '',
    components: {

    },
    data() {
        return {
            baseFormData: {}
        }
    },
    computed: {

    },
    created() {

    },
    methods: {

    },
    watch: {

    },
}
</script>

<style lang="scss" scoped>
@import 'index.scss';
</style>